package cn.cjxy.javaweb.servlet.session;

import java.io.Serializable;

/**
 * 想要session的内容能够持久化必须保证对象实现Serializable接口；
 * @author huangjie
 * @date 2025/9/29
 */
public class Person implements Serializable {
    private String id;
    private String name;

    public Person() {
    }

    public Person(String id, String name) {
        this.id = id;
        this.name = name;
    }
}
